package com.giscloud.amp.dao;

import com.giscloud.amp.entity.AmpStaffOrg;
import com.giscloud.amp.entity.AmpStaffOrgExample;
import com.giscloud.amp.entity.dto.AmpStaffOrgDTO;
import com.giscloud.amp.entity.vo.AmpStaffOrgVO;
import com.giscloud.amp.entity.vo.AmpStaffSystemOrgVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface AmpStaffOrgMapper {
    long countByExample(AmpStaffOrgExample example);

    int deleteByExample(AmpStaffOrgExample example);

    int insert(AmpStaffOrg record);

    int insertSelective(AmpStaffOrg record);

    List<AmpStaffOrgVO> selectByExample(AmpStaffOrgExample example);

    int updateByExampleSelective(@Param("record") AmpStaffOrg record, @Param("example") AmpStaffOrgExample example);

    int updateByExample(@Param("record") AmpStaffOrg record, @Param("example") AmpStaffOrgExample example);


    List<AmpStaffSystemOrgVO> getOrgByStaffId(AmpStaffOrgDTO ampStaffOrgDTO);
}